Optimal. Leaf size=89 \[ 5 a b^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a x+b x^2}}\right )+5 b^2 \sqrt {a x+b x^2}-\frac {10 b \left (a x+b x^2\right )^{3/2}}{3 x^2}-\frac {2 \left (a x+b x^2\right )^{5/2}}{3 x^4} \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 89, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.235, Rules used = {662, 664, 620, 206} \begin {gather*} 5 b^2 \sqrt {a x+b x^2}+5 a b^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a x+b x^2}}\right )-\frac {2 \left (a x+b x^2\right )^{5/2}}{3 x^4}-\frac {10 b \left (a x+b x^2\right )^{3/2}}{3 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 620
Rule 662
Rule 664
Rubi steps
\begin {align*} \int \frac {\left (a x+b x^2\right )^{5/2}}{x^5} \, dx &=-\frac {2 \left (a x+b x^2\right )^{5/2}}{3 x^4}+\frac {1}{3} (5 b) \int \frac {\left (a x+b x^2\right )^{3/2}}{x^3} \, dx\\ &=-\frac {10 b \left (a x+b x^2\right )^{3/2}}{3 x^2}-\frac {2 \left (a x+b x^2\right )^{5/2}}{3 x^4}+\left (5 b^2\right ) \int \frac {\sqrt {a x+b x^2}}{x} \, dx\\ &=5 b^2 \sqrt {a x+b x^2}-\frac {10 b \left (a x+b x^2\right )^{3/2}}{3 x^2}-\frac {2 \left (a x+b x^2\right )^{5/2}}{3 x^4}+\frac {1}{2} \left (5 a b^2\right ) \int \frac {1}{\sqrt {a x+b x^2}} \, dx\\ &=5 b^2 \sqrt {a x+b x^2}-\frac {10 b \left (a x+b x^2\right )^{3/2}}{3 x^2}-\frac {2 \left (a x+b x^2\right )^{5/2}}{3 x^4}+\left (5 a b^2\right ) \operatorname {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x}{\sqrt {a x+b x^2}}\right )\\ &=5 b^2 \sqrt {a x+b x^2}-\frac {10 b \left (a x+b x^2\right )^{3/2}}{3 x^2}-\frac {2 \left (a x+b x^2\right )^{5/2}}{3 x^4}+5 a b^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a x+b x^2}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.01, size = 50, normalized size = 0.56 \begin {gather*} -\frac {2 a^2 \sqrt {x (a+b x)} \, _2F_1\left (-\frac {5}{2},-\frac {3}{2};-\frac {1}{2};-\frac {b x}{a}\right )}{3 x^2 \sqrt {\frac {b x}{a}+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.39, size = 77, normalized size = 0.87 \begin {gather*} \frac {\sqrt {a x+b x^2} \left (-2 a^2-14 a b x+3 b^2 x^2\right )}{3 x^2}-\frac {5}{2} a b^{3/2} \log \left (-2 \sqrt {b} \sqrt {a x+b x^2}+a+2 b x\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.41, size = 145, normalized size = 1.63 \begin {gather*} \left [\frac {15 \, a b^{\frac {3}{2}} x^{2} \log \left (2 \, b x + a + 2 \, \sqrt {b x^{2} + a x} \sqrt {b}\right ) + 2 \, {\left (3 \, b^{2} x^{2} - 14 \, a b x - 2 \, a^{2}\right )} \sqrt {b x^{2} + a x}}{6 \, x^{2}}, -\frac {15 \, a \sqrt {-b} b x^{2} \arctan \left (\frac {\sqrt {b x^{2} + a x} \sqrt {-b}}{b x}\right ) - {\left (3 \, b^{2} x^{2} - 14 \, a b x - 2 \, a^{2}\right )} \sqrt {b x^{2} + a x}}{3 \, x^{2}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.37, size = 133, normalized size = 1.49 \begin {gather*} -\frac {5}{2} \, a b^{\frac {3}{2}} \log \left ({\left | -2 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a x}\right )} \sqrt {b} - a \right |}\right ) + \sqrt {b x^{2} + a x} b^{2} + \frac {2 \, {\left (9 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a x}\right )}^{2} a^{2} b + 3 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a x}\right )} a^{3} \sqrt {b} + a^{4}\right )}}{3 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a x}\right )}^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.04, size = 209, normalized size = 2.35 \begin {gather*} \frac {5 a \,b^{\frac {3}{2}} \ln \left (\frac {b x +\frac {a}{2}}{\sqrt {b}}+\sqrt {b \,x^{2}+a x}\right )}{2}-\frac {10 \sqrt {b \,x^{2}+a x}\, b^{3} x}{a}+\frac {80 \left (b \,x^{2}+a x \right )^{\frac {3}{2}} b^{4} x}{3 a^{3}}-5 \sqrt {b \,x^{2}+a x}\, b^{2}+\frac {40 \left (b \,x^{2}+a x \right )^{\frac {3}{2}} b^{3}}{3 a^{2}}+\frac {128 \left (b \,x^{2}+a x \right )^{\frac {5}{2}} b^{4}}{3 a^{4}}-\frac {128 \left (b \,x^{2}+a x \right )^{\frac {7}{2}} b^{3}}{3 a^{4} x^{2}}+\frac {16 \left (b \,x^{2}+a x \right )^{\frac {7}{2}} b^{2}}{a^{3} x^{3}}-\frac {8 \left (b \,x^{2}+a x \right )^{\frac {7}{2}} b}{3 a^{2} x^{4}}-\frac {2 \left (b \,x^{2}+a x \right )^{\frac {7}{2}}}{3 a \,x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.42, size = 99, normalized size = 1.11 \begin {gather*} \frac {5}{2} \, a b^{\frac {3}{2}} \log \left (2 \, b x + a + 2 \, \sqrt {b x^{2} + a x} \sqrt {b}\right ) - \frac {35 \, \sqrt {b x^{2} + a x} a b}{6 \, x} - \frac {5 \, \sqrt {b x^{2} + a x} a^{2}}{6 \, x^{2}} - \frac {5 \, {\left (b x^{2} + a x\right )}^{\frac {3}{2}} a}{6 \, x^{3}} + \frac {{\left (b x^{2} + a x\right )}^{\frac {5}{2}}}{x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (b\,x^2+a\,x\right )}^{5/2}}{x^5} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x \left (a + b x\right )\right )^{\frac {5}{2}}}{x^{5}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________